// 导入组件
import sign from '../views/usercenter/sign/index.vue'
import user from '../views/usercenter/user/index.vue'
import MyNeed from '../views/usercenter/supply/MyNeeds/index.vue'
import MyProgrammeList from '../views/usercenter/MyProgramme/ProgrammeList.vue'
import AddProgrammeList from '../views/usercenter/MyProgramme/Addprogramme.vue'
import RequirementRelease from '../views/usercenter/supply/MyNeeds/component/RequirementRelease.vue'
import NeedLook from '../views/usercenter/supply/MyNeeds/component/NeedLook.vue'
import MyNeedEdit from '../views/usercenter/supply/MyNeeds/component/MyNeedEdit.vue'
import MyProduct from '../views/usercenter/supply/MyProducts/index.vue'
import ProductsRelease from '../views/usercenter/supply/MyProducts/component/ProductsRelease.vue'
import FollowMe from '../views/usercenter/supply/FollowMe/index.vue'
import MyConcerns from '../views/usercenter/supply/MyConcerns/index.vue'
import MyMessage from '../views/usercenter/supply/MyMessage/index.vue'
import Interactive from '../views/usercenter//News/Interactive/index.vue'
import system from '../views/usercenter/News/system/index.vue'
import ProductEdit from '../views/usercenter/supply/MyProducts/component/ProductEdit.vue'
import ProductLook from '../views/usercenter/supply/MyProducts/component/ProductLook.vue'


// 企业档案路由 
import CompanyRoutes from './CompanyRoutes'
// 信贷金融管理路由
import CreditFinancialRoutes from './CreditFinancialRoutes'

export default [
  {
    path: "sign",
    component: sign,
    meta: {
      title: '信用承诺函',
      header: false,
      footer: false,
      requireAuth: true
    }
  },
  {
    path: "user",
    component: user,
    meta: {
      title: '用户中心',
      header: false,
      footer: false,
      requireAuth: true
    }
  },
  {
    path: "MyNeed",
    component: MyNeed,
    meta: {
      title: '我的需求',
      header: false,
      footer: false,
      requireAuth: true
    }
  },
  {
    path: "MyProduct",
    component: MyProduct,
    meta: {
      title: '我的产品',
      header: false,
      requireAuth: true,
      footer: false,
    }
  }, {
    path: "MyProgramme",
    component: MyProgrammeList,
    meta: {
      title: '我的解决方案',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "AddProgramme",
    component: AddProgrammeList,
    meta: {
      title: '新增解决方案',
      header: false,
      requireAuth: false,
      footer: false,
    }
  },
  {
    path: "RequirementRelease",
    component: RequirementRelease,
    meta: {
      title: '发布需求',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "NeedLook",
    component: NeedLook,
    meta: {
      title: '需求详情',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "MyNeedEdit",
    component: MyNeedEdit,
    meta: {
      title: '编辑需求',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "ProductsRelease",
    component: ProductsRelease,
    meta: {
      title: '产品发布',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "ProductEdit",
    component: ProductEdit,
    meta: {
      title: '产品修改',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "ProductLook",
    component: ProductLook,
    meta: {
      title: '产品详情',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },

  {
    path: "FollowMe",
    component: FollowMe,
    meta: {
      title: '已关注我',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "MyConcerns",
    component: MyConcerns,
    meta: {
      title: '订阅消息',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "MyMessage",
    component: MyMessage,
    meta: {
      title: '供需对接管理',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "Interactive",
    component: Interactive,
    meta: {
      title: '他人的留言',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },
  {
    path: "system",
    component: system,
    meta: {
      title: '系统消息',
      header: false,
      requireAuth: true,
      footer: false,
    }
  },

  ...CompanyRoutes,
  ...CreditFinancialRoutes


]